package xcmg.device.service.vo.warehouse;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * Created by wrg on 2019/5/20.
 */
@ApiModel(value = "部门仓库关系VO")
public class AddDepartmentWarehouseVO {
    @ApiModelProperty(value = "部门id")
    private String departmentId;
    @ApiModelProperty(value = "企业id")
    private String orgId;
    @ApiModelProperty(value = "是否启用0-否，1-是")
    private Short isEnable;
    //仓库库存控制
    private List<DepartmentWarehouseRelationVO> warehouseRelationVOList;
    //主库区控制
    private List<DepartmentWarehouseRelationVO> majorControls;
    //次库区控制
    private List<DepartmentWarehouseRelationVO> minorControls;

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId == null ? null : departmentId.trim();
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId == null ? null : orgId.trim();
    }

    public Short getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(Short isEnable) {
        this.isEnable = isEnable;
    }

    public List<DepartmentWarehouseRelationVO> getWarehouseRelationVOList() {
        return warehouseRelationVOList;
    }

    public void setWarehouseRelationVOList(List<DepartmentWarehouseRelationVO> warehouseRelationVOList) {
        this.warehouseRelationVOList = warehouseRelationVOList;
    }

    public List<DepartmentWarehouseRelationVO> getMajorControls() {
        return majorControls;
    }

    public void setMajorControls(List<DepartmentWarehouseRelationVO> majorControls) {
        this.majorControls = majorControls;
    }

    public List<DepartmentWarehouseRelationVO> getMinorControls() {
        return minorControls;
    }

    public void setMinorControls(List<DepartmentWarehouseRelationVO> minorControls) {
        this.minorControls = minorControls;
    }
}
